package com.lorianknights.rpg.data.asset.base
{
	
	public class MapBase extends Object
	{
		
		private var _id:int;
		private var _name:String;
		private var _linkage:String;
		private var _filename:String;
		private var _staffonly:int;
		
		public function MapBase(mapBObj:Object)
		{
			
			super();
			
				if ("intMapID" in mapBObj)
				{
					
					this._id = int(mapBObj.intMapID);
					
				}
				
				if ("strName" in mapBObj)
				{
					
					this._name = String(mapBObj.strName);
					
				}
				
				if ("strLinkage" in mapBObj)
				{
					
					this._linkage = String(mapBObj.strLinkage);
					
				}
				
				if ("sFile" in mapBObj)
				{
					
					this._filename = String(mapBObj.sFile);
					
				}
				
				if ("bStaff" in mapBObj)
				{
					
					this._staffonly = int(mapBObj.bStaff);
					
				}
		}
		
		public function get intMapID():int
		{
			
			return this._id;
			
		}
		
		public function get strName():String
		{
			
			return this._name;
			
		}
		
		public function get strLinkage():String
		{
			
			return this._linkage;
			
		}
		
		public function get sFile():String
		{
			
			return this._filename;
			
		}
		
		public function get bStaff():int
		{
			
			return this._staffonly;
			
		}
}